<?php
namespace app\api\controller;
use app\api\model\Activity as ActivityModel;

/**
 * 优惠活动控制器
 */
class Activity extends Controller
{
    /**
     * 优惠活动列表
     */
    public function lists()
    {
        $model = new ActivityModel;
        $list = $model->getList();
        return $this->renderSuccess(compact('list'));
    }

}
